class AddIdentifierTypeData < ActiveRecord::Migration
  def self.up
    down
    IdentifierType.create(:title => 'ISBN', :about => 'Books Identifier')
    IdentifierType.create(:title => 'ISSN', :about => 'Journals Identifier.')
    IdentifierType.create(:title => 'URI', :about => 'Web Site Identifier.')
    IdentifierType.create(:title => 'NBN', :about => 'National Bibliographic Number')
    IdentifierType.create(:title => 'DOI', :about => 'Digital Object Identifier')
    IdentifierType.create(:title => "SICI", :about => "Serial Item and Contribution Identifier")
    IdentifierType.create(:title => 'OAI', :about => 'Open Archives Initiative')
  end

  def self.down
    IdentifierType.delete_all
  end
end
